package com.cloud.seatarmtwo.service;

import com.cloud.seatarmtwo.dao.TblTwoDao;
import com.cloud.seatarmtwo.entity.TblTwo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class Seata_AT_Service {

    @Autowired
    private TblTwoDao twoMapper;

    public String testAT(){

        TblTwo two = TblTwo.builder().name("Seata AT 测试").build();


        twoMapper.insert(two);

        return "测试完成";
    }
}
